<?php
/**
 * @author Anh Nguyen
 * @copyright 2012
 */
 
defined('APP') or die('Denied access !');

class Default_Controller_Captcha extends Controller
{
    public function indexAction()
    {
        $this->load->library('Captcha',false);
        $fonts = array(
                        SITE_PATH . DS . 'public/fonts/VeraBd.ttf',
                        SITE_PATH . DS . 'public/fonts/VeraIt.ttf',
                        SITE_PATH . DS . 'public/fonts/Vera.ttf'
                        );
        $captcha = new Captcha($fonts, 7);
        $captcha->SetOwnerText('Powered by : anhnguyen.tb90');
        $captcha->Create();
    }
}
?>